#ifndef DRAWABLEOBJECT_H
#define DRAWABLEOBJECT_H

#include "gameObject.h"
#include <SFML/Graphics.hpp>

class DrawableObject : public GameObject
{
public:
	DrawableObject(void);
	//setters and getters for mImage and mSprite
	void image(const std::string &imageFileName);
	sf::Image image(){return image;}
	void sprite(sf::Image &image);
	sf::Sprite sprite(){return Sprite;}
	
	virtual void draw(sf::RenderWindow &window) = 0;
protected:
	sf::Image Image;
	sf::Sprite Sprite;
};

#endif //DRAWABLEOBJECT_H